package com.kingdee.eas.minghua.trademanage;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractAndProductFactory
{
    private ContractAndProductFactory()
    {
    }
    public static com.kingdee.eas.minghua.trademanage.IContractAndProduct getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IContractAndProduct)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("05165770") ,com.kingdee.eas.minghua.trademanage.IContractAndProduct.class);
    }
    
    public static com.kingdee.eas.minghua.trademanage.IContractAndProduct getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IContractAndProduct)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("05165770") ,com.kingdee.eas.minghua.trademanage.IContractAndProduct.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.trademanage.IContractAndProduct getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IContractAndProduct)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("05165770"));
    }
    public static com.kingdee.eas.minghua.trademanage.IContractAndProduct getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IContractAndProduct)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("05165770"));
    }
}